home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / gnu / djgpp / contrib / dvx / inc / x11 / xaw / simple.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-07-15  |  2.4 KB  |  68 lines

  1. /*
  2.  * $XConsortium: Simple.h,v 1.9 89/07/21 01:44:53 kit Exp $
  3.  */
  4.  
  5. /***********************************************************
  6. Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
  7. and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
  8.  
  9.                         All Rights Reserved
  10.  
  11. Permission to use, copy, modify, and distribute this software and its 
  12. documentation for any purpose and without fee is hereby granted, 
  13. provided that the above copyright notice appear in all copies and that
  14. both that copyright notice and this permission notice appear in 
  15. supporting documentation, and that the names of Digital or MIT not be
  16. used in advertising or publicity pertaining to distribution of the
  17. software without specific, written prior permission.  
  18.  
  19. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  20. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  21. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  22. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  23. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  24. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  25. SOFTWARE.
  26.  
  27. ******************************************************************/
  28.  
  29. #ifndef _Simple_h
  30. #define _Simple_h
  31.  
  32. /****************************************************************
  33.  *
  34.  * Simple widgets
  35.  *
  36.  ****************************************************************/
  37.  
  38. /* Resources:
  39.  
  40.  Name             Class        RepType        Default Value
  41.  ----             -----        -------        -------------
  42.  background         Background        Pixel        XtDefaultBackground
  43.  border             BorderColor    Pixel        XtDefaultForeground
  44.  borderWidth         BorderWidth    Dimension    1
  45.  cursor             Cursor        Cursor        None
  46.  destroyCallback     Callback        Pointer        NULL
  47.  height             Height        Dimension    0
  48.  insensitiveBorder   Insensitive    Pixmap        Gray
  49.  mappedWhenManaged   MappedWhenManaged    Boolean        True
  50.  sensitive         Sensitive        Boolean        True
  51.  width             Width        Dimension    0
  52.  x             Position        Position    0
  53.  y             Position        Position    0
  54.  
  55. */
  56.  
  57. #define XtNcursor "cursor"
  58. #define XtNinsensitiveBorder "insensitiveBorder"
  59.  
  60. #define XtCInsensitive "Insensitive"
  61.  
  62. typedef struct _SimpleClassRec    *SimpleWidgetClass;
  63. typedef struct _SimpleRec    *SimpleWidget;
  64.  
  65. extern WidgetClass simpleWidgetClass;
  66.  
  67. #endif /* _Simple_h */
  68.